<?php

use App\Http\Controllers\UserController;
use App\Http\Controllers\TestController;

$api = app('Dingo\Api\Routing\Router');
//$api = app(Router::class);

$api->version('v1', function($api){
    //需要登录的路由
    $api->group(['middleware'=>'api.auth'], function ($api){

    });
});
